import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/sse/` + url, ...arg)
export default {
	sendMsg() {
		return request('sendMsg', null, 'get')
	},
	sendAll(type, msg) {
		return request(`sendAll/${type}?msg=${msg}`, null, 'get')
	}
}
